package com.gztms.travelmgnt.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.mysql.cj.jdbc.Blob;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author Zoey
 * @date 2023/4/19 20:28
 * @Description 景区实体类
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "attractions")
public class Attractions implements Serializable {
    private static final long serialVersionUID = 5446872345928340362L;
    @TableId(type = IdType.AUTO)
    private Integer attrId;
    private String name;
    private Integer areaId;
    private String address;
    private String openTime;
    private String ticketNotice;
    private String attrDesc;
    private Integer attrCateId;
    private BigDecimal price;
    private Integer limitPerson;
    private String bannerUrl;
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer isDelete;
    @Version
    @TableField(fill = FieldFill.INSERT)
    private Integer version;
    private Integer remainSum;
    @TableField(exist = false)
    // 相似度
    private double w;


}
